/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package idea.model.powersearch;


import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import static idea.model.powersearch.Bundle.*;
import java.util.List;
import javax.swing.Action;
import org.openide.util.Utilities;


/**
 *
 * @author rejun001
 */
public class CCISearchResultsRootNode extends AbstractNode
{


    @Override
    public Action[] getActions( boolean context )
    {
        List<? extends Action> actionsForCustomContentItemSearchView = Utilities.actionsForPath( "Actions/CustomContentItemSearchView");
        return actionsForCustomContentItemSearchView.toArray(new Action[actionsForCustomContentItemSearchView.size()]);
    }

    public CCISearchResultsRootNode( Children children )
    {
        super( children );
        setDisplayName( CTRL_RootName() );
    }

}
